﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PowerManager_V1._0
{
    class DateConfig
    {
        #region 智能电源控制命令
        //负载1开
        public static byte[] openF1 = new byte[] { 0x55, 0xAA, 0x11, 0x7C, 0xDF };
        //负载1关
        public static byte[] closeF1 = new byte[] { 0x55, 0xAA, 0x10, 0xBC, 0x1E };
        //负载2开
        public static byte[] openF2 = new byte[] { 0x55, 0xAA, 0x21, 0x68, 0xDF };
        //负载2关
        public static byte[] closeF2 = new byte[] { 0x55, 0xAA, 0x20, 0xA8, 0x1E };
        //负载3开
        public static byte[] openF3 = new byte[] { 0x55, 0xAA, 0x31, 0xA4, 0xDE };
        //负载3关
        public static byte[] closeF3 = new byte[] { 0x55, 0xAA, 0x30, 0x64, 0x1F };
        //负载4开
        public static byte[] openF4 = new byte[] { 0x55, 0xAA, 0x41, 0x40, 0xDF };
        //负载4关
        public static byte[] closeF4 = new byte[] { 0x55, 0xAA, 0x40, 0x80, 0x1E };
        //太阳能供电
        public static byte[] solarPowerSupply = new byte[] { 0x55, 0xAA, 0x50, 0x4C, 0x1F };
        //交流供电
        public static byte[] acPowerSupply = new byte[] { 0x55, 0xAA, 0x51, 0x8C, 0xDE };
        //电池组A供电
        public static byte[] batterASupply = new byte[] { 0x55, 0xAA, 0x60, 0x58, 0x1F };
        //电池组B供电
        public static byte[] batterBSupply = new byte[] { 0x55, 0xAA, 0x61, 0x98, 0xDE };


        #endregion
    }
}
